About
This is a minimal CSS library to design semantic webpages with pure CSS on everything it is possible.
The goal of this project is using standard HTML elements in their intended roles (so no links pretending to be buttons), to make simpler and more acessible web pages. There is some inspiration from Markdown typical formatting, so as a side effect this lib also helps to make an HTML<->Markdown conversion simple.
Textual elements
Formatting
Pizza in italicKeep hydrated in bold
Some reference in underline
Just a prank bro in strikethrough
Spoiler: The movie ends
Paragraphs
Standard paragraph
Only first line
idented on paragraph.
Indented paragraph
on all lines.
Alignment
Left aligmentQuotes
MAKING THE MOTHER OF ALL OMELETTES HERE, JACK!
, said the Senator.
Free will is a myth. Religion is a joke. We are all pawns, controlled by something greater: Memes. The DNA of the soul. They shape our will. They are the culture. They are everything we pass on.
Monsoon, Metal Gear Rising: Revengeance
Notes
To avoid confusion, the styling is also different.
Lists
- some
- unordered
- list
- cheater
- speedrunner
- try-hard
- casual
- Cheater
- Player that breaks rules on competitions
- Speedrunner
- Player that tries to finish games as fast as possible
- Try-hard
- Player that self-challenges with hard situations on games
- Completionist of games
- Streamer that is bad at the game
- Casual
- Player with no care for speed of completition
- Let's play slop
Links
Test Link Test Link 2Code
A sentence explaining somefunction().Code sample from another project:
func _on_body_mouse_exited() -> void:
if _tooltip == null or not found:
return
_tooltip.visible = false
return
Figures
Without frameWith frame
Colors
Background colors
Border colors
Text colors
Spacing
Margins
Paddings
Tooltips
With elementSome text with that needs It cannot be explained! extra explanation.
Tables
| Band | Album | Year | Duration | Genre |
|---|---|---|---|---|
| Engel | Abandon All Hope | 2018 | 47:09 | Melodic Death Metal |
| Trivium | Shogun (Special Edition) | 2008 | 1:19:15 | Thrash/Death Metal |
| Epica | The Quantum Enigma | 2014 | 1:14:31 | Symphonic Metal |
| Iron Maiden | Somewhere in Time | 1986 | 51:24 | Heavy Metal |
| Sepultura | Kairos | 2011 | 53:09 | Groove Metal |
| Death Angel | The Dream Calls for Blood | 2013 | 54:13 | Thrash Metal |
| Mudvayne | Lost and Found | 2005 | 53:09 | Alternative Metal |
| Total | 6:31:50 | |||
Form elements
This project is not meant to use browser exclusive hacks.
Details
Individual
Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris accumsan ultrices felis eu mollis.Multiple
Donec varius
Donec varius, eros in fermentum iaculis, nunc lorem dapibus sem, vel blandit nibh odio eu ligula.Nam semper
Nam semper dui tellus, eu scelerisque felis mollis vitae.Accordion
Interdum et malesuada
Interdum et malesuada fames ac ante ipsum primis in faucibus.Donec ultricies
Donec ultricies mattis neque sit amet mattis. Nullam erat enim, pulvinar ut aliquam vitae, mollis vitae purus.Dialogs
Tabs
Horizontal (default)
First
Second
Third
Vertical
One
Two
Three
div role="tab" for the styling to work, but it is
recommended for accessibility.